﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Web;

namespace gAMS_Sacombank.Web.Services.AssetManagement.Interfaces.AssetManager
{
    [ServiceContract]
    public interface IUnit
    {
        [OperationContract]
        IEnumerable<CM_UNIT> GetByAllUnit();

        [OperationContract]
        String InsertUnit(CM_UNIT data);

        [OperationContract]
        String UpdateUnit(CM_UNIT data);

        [OperationContract]
        String DeleteUnit(string id);

        [OperationContract]
        String ApproveUnit(CM_UNIT data);

        [OperationContract]
        IEnumerable<CM_UNIT> GetByTopUnit(string _top, string _where, string _order);

       
    }
}